﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="Settings.aspx.cs" Inherits="Presentation.Settings" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
    Beállítások
    </h2>
    <p>
        <asp:Label ID="MessageLabel" runat="server" ForeColor="red"></asp:Label>
    </p>
    <asp:Panel ID="Panel1" BorderStyle="Solid" runat="server"  Width="567px">
        <br />
        <strong>&nbsp; &nbsp; &nbsp; &nbsp; Válassza ki az aktuális félévet! </strong>
        <br />
        <br />
        &nbsp; &nbsp; &nbsp; &nbsp; <asp:RadioButton ID="Autumn" runat="server" GroupName="Semester" 
            Text="Őszi" />
       &nbsp; &nbsp; &nbsp; &nbsp; <asp:RadioButton ID="Spring" runat="server" GroupName="Semester" 
            Text="Tavaszi" />
       <br/>
       <br/>
       &nbsp; &nbsp; &nbsp; &nbsp; A félév váltáshoz kérem adja meg a jelszavát: &nbsp; &nbsp; &nbsp; &nbsp;
        <asp:TextBox ID="Passwd" runat="server" TextMode="Password"></asp:TextBox>
        <asp:RequiredFieldValidator ID="Vpasswd" ValidationGroup="Pwd" runat="server" ForeColor="red" 
        ErrorMessage="A mező nem lehet üres!" ControlToValidate="Passwd"></asp:RequiredFieldValidator>
        <br/>
        &nbsp; &nbsp; &nbsp; &nbsp; <asp:Button ID="SaveSemester" runat="server" Text="Mentés" ValidationGroup="Pwd"
            onclick="SaveSemester_Click" />
        <br/>
        <br />
    </asp:Panel>
    <br/>
    <br/>
     <asp:Panel ID="Panel2" BorderStyle="Solid" runat="server" Width="567px">
        <br />
        <strong> &nbsp; &nbsp; &nbsp; &nbsp;  Az oktatók preferenciáinak beállítása </strong>
        <br />
        <br />
         &nbsp; &nbsp; &nbsp; &nbsp;  <asp:RadioButton ID="Enged" runat="server" GroupName="Settings" 
            Text="Engedélyezve" />
         &nbsp; &nbsp; &nbsp; &nbsp;  <asp:RadioButton ID="Tilt" runat="server" GroupName="Settings" 
            Text="Letiltva" />
       <br/>
       <br/>
        &nbsp; &nbsp; &nbsp; &nbsp;  A módosításhoz kérem adja meg a jelszavát: &nbsp; &nbsp; &nbsp; &nbsp; 
        <asp:TextBox ID="TextBox1" runat="server" TextMode="Password"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ValidationGroup="Pwd2" runat="server" ForeColor="red" 
        ErrorMessage="A mező nem lehet üres!" ControlToValidate="TextBox1"></asp:RequiredFieldValidator>
        <br />
        
         &nbsp; &nbsp; &nbsp; &nbsp;  <asp:Button ID="SaveSettingEnabled" runat="server" Text="Mentés" ValidationGroup="Pwd2"
            onclick="SaveSettingEnabled_Click" />        
         <br/>
         <br />
    </asp:Panel>
</asp:Content>
